package com.lz.behavior.vistor;

import lombok.Getter;
import lombok.Setter;

import java.util.Random;

/**
 * Company..
 *
 * @author Lizhong
 * @date 2019/9/27
 */
@Getter
@Setter

public abstract class Company {
    private String name;
    private int kpi ;

    public Company(String name) {
        this.name = name;
        this.kpi = new Random().nextInt(10);
    }

    abstract void accept(Vistor vistor);
}
